<template>
	<view>
		<uni-card title="预约信息">
			<view>就诊人：{{card.name}}</view>
			<view>预约科室：{{name}}</view>
			<view>门诊类型：普通号</view>
			<view>预约时间:2020-9-21 周一 下午 14:00</view>
			<br>
			<button type="primary" @click="toindex">预约成功</button>
		</uni-card>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				name:'',
				card:''
			}
		},
		onLoad(options) {
			this.card = uni.getStorageSync('jiuzhenCrd')
			this.name = options.name
		},
		methods: {
			toindex(){
				uni.navigateTo({
					url:'hospitalList'
				})
			},
		}
	}
</script>

<style>

</style>
